package com.dgshanger.sanhxiaofeisc.mvp.contract;

import com.dgshanger.sanhxiaofeisc.entity.CheckPwdEntity;
import com.dgshanger.sanhxiaofeisc.entity.LoosePaymentEntity;
import com.xx.baseuilibrary.mvp.BaseMvpView;
import com.xx.baseutilslibrary.network.rx.XxBaseHttpObserver;

/**
 * Created by JacobHHH on 2018/4/20.
 */

public interface PayModelSettingContract {

    interface View extends BaseMvpView{

        void showPwdDialog();

        void settingPwd();

        void onPaySuccess(LoosePaymentEntity entity);
    }

    interface Presenter{

        void checkPwd();

        void goPay(String shop_id,String pay_amount,String pay_type,String user_pay_pwd
                , String user_wallet_amount, String user_integral_amount);

    }

    interface Model{

        void checkPwd(XxBaseHttpObserver<CheckPwdEntity> httpObserver);

        void goPay(String shop_id, String pay_amount, String pay_type, String user_pay_pwd
                , String user_wallet_amount, String user_integral_amount
                , XxBaseHttpObserver<LoosePaymentEntity> httpObserver);
    }
}
